package com.etc.util;


public class CommonMessage {
	private int code;
	private String msg;
	private String data[];

	public String[] getData() {
		return data;
	}

	public void setData(String[] data) {
		this.data = data;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}


	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}


	public CommonMessage() {
		super();
	}

	public CommonMessage(String msg, int code) {
		super();
		this.msg = msg;
		this.code = code;
	}

	public CommonMessage(String msg, int code, String[] data) {
		super();
		this.msg = msg;
		this.code = code;
		this.data = data;
	}

	public CommonMessage(String msg) {
		this.msg = msg;
	}
}
